package cc.sunni.user.controller;

import cc.sunni.api.controller.user.HelloControllerApi;
import cc.sunni.common.utils.R;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author jl
 * @since 2021/2/19 21:23
 */
@RestController
@Slf4j
public class HelloController implements HelloControllerApi {

    @Override
    public R hello() {
        log.trace("trace~~~");
        log.debug("debug~~~");
        log.info("info~~~");
        log.warn("warn~~~");
        log.error("error~~~");
        return R.ok("hello");
    }
}
